package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "consult_category")//咨询类型表
public class ConsultCategory extends BaseEntity {
    private static final long serialVersionUID = 4420221257774214215L;

    @Column(name = "level")//级别
    private String level;
    @Column(name = "name")//名称

    private String name;
    @Column(name = "cms_id")//关联cms_column_info表id
    private String cmsId;
    @Column(name = "text")//提示语

    private String text;
    @Column(name = "sort_num")//排序

    private String sortNum;


    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCmsId() {
        return cmsId;
    }

    public void setCmsId(String cmsId) {
        this.cmsId = cmsId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getSortNum() {
        return sortNum;
    }

    public void setSortNum(String sortNum) {
        this.sortNum = sortNum == null ? null : sortNum.trim();
    }

}